<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>菜单列表</title>
  <link rel="stylesheet" href="/菜谱/css/style.css">
</head>

<body>
  <h3 class="big-tit">菜谱列表</h3>
  <ul class="list-box indexs"></ul>
  <p class="more">数据正在加载中...</p>
  <p class="noinfo">没有数据了...</p>
  <script src="/js/jquery.js"></script>
  <script src="/js/index.js"></script>

  <!-- 引入模板引擎文件 -->
  <script src="/js/template-web.js"></script>
  <script type="text/html" id="lead-in">
    {{ each data.list }}
    <li>
      <a href="info.html?id={{$value.id}}">
        <img src="http://124.223.14.236:3001/public/{{ $value.img }}" alt="" />
        <h3>{{ $value.name }}</h3>
      </a>
    </li>
    {{ /each }}
  </script>
</body>

</html>